{{define "layout"}}
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>{{block "title" .}}默认标题{{end}}</title>
    <link rel="stylesheet" href="/static/style.css">
</head>
<body>
{{template "header" .}}
<main>{{block "content" .}}默认内容{{end}}</main>
{{template "footer" .}}
</body>
</html>
{{end}}
